import request from '@/utils/request'

export function listRouter(paramsObj) {
  return request({
    url: '/routers/listRouter',
    method: 'post',
    params: paramsObj
  })
}
export function addRouter(paramsObj) {
  return request({
    url: '/routers/addRouter',
    method: 'post',
    params: paramsObj
  })
}
export function batchDelRouter(paramsObj) {
  return request({
    url: '/routers/batchDelRouter',
    method: 'post',
    params: paramsObj
  })
}
export function myRouters(paramsObj) {
  return request({
    url: '/routers/myRouters',
    method: 'post',
    params: paramsObj
  })
}
export function update(paramsObj) {
  return request({
    url: '/routers/update',
    method: 'post',
    params: paramsObj
  })
}
export function getDetail(paramsObj) {
  return request({
    url: '/routers/detail',
    method: 'post',
    params: paramsObj
  })
}
